package com.itlaobing.spring.ioc.collection;

import java.time.LocalDate;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.Set;

public class Person {

    private String name ;

    private Set<String> adepts ; // 擅长

    private List<String> hobby ; // 爱好

    private Map<String, LocalDate> luckyDays ; // 幸运日

    private Properties address ; // 地址

    public Person() {
        super();
    }

    public Person(Set<String> adepts) {
        this.adepts = adepts;
    }

    public Person(List<String> hobby) {
        this.hobby = hobby;
    }

    public Person(Map<String, LocalDate> luckyDays) {
        this.luckyDays = luckyDays;
    }

    public Person(Properties address) {
        this.address = address;
    }

    public Person(String name, Set<String> adepts, List<String> hobby, Map<String, LocalDate> luckyDays, Properties address) {
        this.name = name;
        this.adepts = adepts;
        this.hobby = hobby;
        this.luckyDays = luckyDays;
        this.address = address;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Set<String> getAdepts() {
        return adepts;
    }

    public void setAdepts(Set<String> adepts) {
        this.adepts = adepts;
    }

    public List<String> getHobby() {
        return hobby;
    }

    public void setHobby(List<String> hobby) {
        this.hobby = hobby;
    }

    public Map<String, LocalDate> getLuckyDays() {
        return luckyDays;
    }

    public void setLuckyDays(Map<String, LocalDate> luckyDays) {
        this.luckyDays = luckyDays;
    }

    public Properties getAddress() {
        return address;
    }

    public void setAddress(Properties address) {
        this.address = address;
    }
}
